s15adf

s15adf © Numerical Algorithms Group, 2002.

Purpose

S15ADF Complement of error function erfc x

Synopsis

[fun_value,ifail] = s15adf(x<,ifail>)

Description

 
 The routine calculates an approximate value for the complement of
 the error function
 
                               infty   2
                          2    /     -u                    
                erfc x= ------ |    e   du = 1-erf x.
                          ____ /                
                        \/(pi) x                
 

Parameters

s15adf

Required Input Arguments:

x                                     real

Optional Input Arguments:                       <Default>

ifail                                 integer  -1

Output Arguments:

ifail                                 integer